package cn.gson.school.dao.jiaoxue;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import cn.gson.school.entity.jiaoxue.PhaseEntity;
/*
 * 阶段表
 */

@Repository
public interface PhaseDao extends CrudRepository<PhaseEntity, Long> {

	@Query(value="from PhaseEntity where is_delete=?")
	public List<PhaseEntity> findByDelete(Integer delete);
}
